<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%@ taglib uri="/WEB-INF/tld/ce.tld" prefix="ce" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/cases/execute/";  //应用的地址名
String exeRegActionName = basePath+"caseSourceExecute_exeReg.action";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>执行情况登记</title>
<script type="text/javascript">
<!--
           $(function(){
            
               $('#execPerson').validatebox({
                   required:'true',
                   missingMessage:'请输入执行人员',
                   validType:'length[1,250]'
               });
               $('#execStepsNum').validatebox({
                   required:'true',
                   missingMessage:'请选择执行措施'
               });
	           //点击添加按钮操作
			   $('#addBtn').click(function(){
				   $('#execStepsName').val($('#execStepsNum option:selected').text());
                   $('#editForm').submit();
	            });
	            //表单验证及提交处理操作
	           $('#editForm').form({
			        url:'<%=exeRegActionName%>',
			        onSubmit: function(){
			           if($(this).form('validate')){
			                 $.util.showLoading();
			                 $('#operateWindow').window('close');
                            return true;
			             }else{
			                return false;
			             }
			        },
			        success:function(data){
			            $.util.removeLoading();
                        returnOptMsg(data);
			        }
				});
	            
	            
           });
//-->
</script>
  </head>
  <body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" >
   <s:form action="editForm" method="post">
    <s:hidden name="po.vcId"/><s:hidden name="po.caseId"/>
    <s:hidden id="execStepsName" name="po.execStepsName"/>
    <table align="center" class="tb_add_th" width="100%">
      <tr>
        <th align="left" width="200">案源编号：</th>
        <td align="left"><s:hidden name="po.caseNumber"/><s:property value="po.caseNumber"/></td>
      </tr>
        <tr>
        <th align="left" width="200">企业名称：</th>
        <td align="left"><s:hidden name="po.enterprice"/><s:property value="po.enterprice"/></td>
      </tr>
        <tr>
        <th align="left" width="200">执行人员：</th>
        <td align="left"><s:textarea name="po.execPerson" id="execPerson"  style="width:200px"/><font color="red">*</font></td>
      </tr>
        <tr>
        <th align="left" width="200">是否公安配合检查追缴入库数：</th>
        <td align="left"><s:radio name="po.policeHelp" list="#{1:'是',0:'否'}"/></td>
      </tr>
        <tr>
        <th align="left" width="200">执行措施：</th>
        <td align="left">
         <ce:dictSelect id="execStepsNum" name="po.execStepsNum" dictName="执行案源台账-执行措施" blankOption="true" style="width:200px"/>
        <font color="red">*</font></td>
      </tr>
   </table>
   </s:form>
  </body>
</html>

